package com.homedo.odin.solution.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.homedo.odin.solution.model.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

@ApiModel(description = "用户收入详情下载")
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class UserIncomeDetailResponseBean extends BaseBean {

    @ApiModelProperty("业务id")
    private Long businessId;

    @ApiModelProperty("分成金额")
    private BigDecimal amount;

    @ApiModelProperty("下载时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date downloadTime;


}
